package com.qtenv.datasync.service.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.qtenv.datasync.service.entity.BasicDyh;
import com.qtenv.datasync.service.mapper.BasicDyhMapper;
import com.qtenv.datasync.service.service.BasicDyhService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 信息统计表_大用户 服务实现类
 * </p>
 *
 * @author CBL
 * @since 2022-08-09
 */
@Service
public class BasicDyhServiceImpl extends ServiceImpl<BasicDyhMapper, BasicDyh> implements BasicDyhService {

    @Override
    public BasicDyh getSeniorTagInfo(String tenantId, String areaId) {
        return this.getOne(new QueryWrapper<BasicDyh>().eq("tenant_id", tenantId).eq("AreaID", areaId));
    }
}
